package com.ledim.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashMap;

/**
 * Created by ccx on 16/7/26.
 * 专辑bean--用于搜索和LedimAlbumBean category albumType 这2字段定义不一样
 */
public class LedimSearchAlbumBean implements Serializable {

    //public String __desc__;

    public String id;

    public String nameCn;
    //public int albumType; //专辑类型
    public String videoType; //专辑类型

    public int category; //频道类型

    public int varietyShow; //0表示不是非栏目类 1表示栏目类

    public String description;

    public String playCount;

    public int episodes; //总集数

    public int episode; //总集数

    public int nowEpisodes; //跟播的当前集数

    public String nowIssue; //最新期数（用于综艺频道）

    public int isEnd; //是否完结

    public String rating;

    public HashMap<Integer, String>[] starring;

    public String releaseDate; //年份

    // public ArrayList<LedimEpisodeBean> videoLists = new ArrayList<LedimEpisodeBean>();

    // public String picCollections;
    public ImageCollections images;

    //add by jpf,接口添加images字段,包括200X150,400x300,pic169
    public static class ImageCollections implements Serializable {

        public String pic_200X500;
        public String pic_400X300;
        public String pic169;     //16:9的图
    }

    public LedimAlbumBean getLedimAlbumBean() {
        LedimAlbumBean albumBean = new LedimAlbumBean();
        albumBean.id = id;
        albumBean.nameCn = nameCn;
        albumBean.description = description;
        albumBean.episode = episode;
        albumBean.episodes = episodes;
        albumBean.isEnd = isEnd;
        albumBean.nowEpisodes = nowEpisodes;
        albumBean.nowIssue = nowIssue;
        albumBean.varietyShow = varietyShow;
        albumBean.videoType = videoType;
        return albumBean;
    }
}
